package com.verify.emun;

public enum POST_LEVEL_TYPE {
    SINGLE("单一岗级"),
    RANGE("范围岗级");

    private final String name;

    POST_LEVEL_TYPE(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static boolean contains(String value) {
        for (POST_LEVEL_TYPE org : POST_LEVEL_TYPE.values()) {
            if (org.getName().equals(value)) {
                return true;
            }
        }
        return false;
    }
}
